package com.xzy.source;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationListener;

/**
 * @author xzy.xiao
 * @date 2023/3/15  10:33
 */
@Slf4j
public class RowEventListener implements ApplicationListener<RowEvent> {
    /**
     * Handle an application event.
     *
     * @param event the event to respond to
     */
    @Override
    public void onApplicationEvent(RowEvent event) {
        log.info("onApplicationEvent 监听到事件 => {}", event);
    }
}
